<template>
	<view class="tag" :style="{backgroundColor:props.bgColor,color:props.textColor}">{{props.title}}</view>
</template>

<script setup>
	const props=defineProps(["title","bgColor","textColor"])
</script>

<style lang="scss">
.tag{
	width: 140rpx;
	height: 48rpx;
	font-size: 26rpx;
	border-radius: 10rpx;
	line-height: 48rpx;
	text-align: center;
}
</style>